<template>
    <p>id: {{ params.id }}</p>
    <p>title: {{ params.title }}</p>
    <p>content: {{ params.content }}</p>
</template>
<script setup lang="ts">
import { toRef } from 'vue';
import { useRoute } from 'vue-router';
let route = useRoute();
console.log(route.params)

let params = toRef(route,'params');


</script>
<style></style>